Matthias Clasen [Sun, 20 Dec 2009 23:20:42 +0000 (18:20 -0500)]
Some improvements to the auto-mnemonics code
Matthias Clasen [Sun, 20 Dec 2009 22:56:28 +0000 (17:56 -0500)]
Handle reading the create-folders property
Javier Jardón [Sun, 20 Dec 2009 20:17:34 +0000 (21:17 +0100)]
Fix compilation warning: cast to GTK_WIDGET()
Javier Jardón [Sun, 20 Dec 2009 20:13:26 +0000 (21:13 +0100)]
Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %d
Jorge González [Sun, 20 Dec 2009 12:37:45 +0000 (13:37 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 20 Dec 2009 08:04:52 +0000 (03:04 -0500)]
Only show the mnemonic underline when pressing Alt
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
Matthias Clasen [Sun, 20 Dec 2009 08:04:08 +0000 (03:04 -0500)]
Small documentation correction
Matthias Clasen [Sat, 19 Dec 2009 18:51:12 +0000 (13:51 -0500)]
Properly free damage events
This was reported in bug 605008
Benjamin Otte [Sat, 19 Dec 2009 17:37:39 +0000 (18:37 +0100)]
Fix up linker flags
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
Benjamin Otte [Sat, 19 Dec 2009 12:46:18 +0000 (13:46 +0100)]
Disconnect signal handlers on adjustment in destroy handler
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
Jorge González [Sat, 19 Dec 2009 12:31:19 +0000 (13:31 +0100)]
Updated Spanish translation
Carlos Garcia Campos [Sat, 19 Dec 2009 11:28:46 +0000 (12:28 +0100)]
Fix a crash on print preview
There's no printer when doing print preview so it's not possible to get
its hard margins.
Dan Winship [Fri, 18 Dec 2009 10:58:36 +0000 (11:58 +0100)]
Change GtkIconSize to int in params/return values
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
Dan Winship [Fri, 18 Dec 2009 10:45:14 +0000 (11:45 +0100)]
Fix out/transfer annotations on GtkImage getters
https://bugzilla.gnome.org/show_bug.cgi?id=604895
Matthias Clasen [Sat, 19 Dec 2009 02:47:03 +0000 (21:47 -0500)]
Fix doc typos
Reported in bug 604902.
Javier Jardón [Fri, 18 Dec 2009 03:34:15 +0000 (04:34 +0100)]
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
Hiroyuki Ikezoe [Sat, 19 Dec 2009 00:18:14 +0000 (01:18 +0100)]
[gtk] GtkCellEditable::editing-cancelled should be writable
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Matthias Clasen [Sat, 19 Dec 2009 00:17:04 +0000 (19:17 -0500)]
Fix a thinko in computing damage for segments
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
Matthias Clasen [Fri, 18 Dec 2009 23:43:32 +0000 (18:43 -0500)]
Ensure native windows in gdk_property_change
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
Torsten Schoenfeld [Fri, 18 Dec 2009 19:58:26 +0000 (20:58 +0100)]
[docs] Add some 'Since: 2.4' tags
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Hiroyuki Ikezoe [Thu, 17 Dec 2009 10:35:34 +0000 (19:35 +0900)]
Use g_value_dup_string instead.
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
Richard Hughes [Fri, 18 Dec 2009 15:17:13 +0000 (15:17 +0000)]
Add color management support to gdk_pixbuf_save
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
Alexander Larsson [Fri, 18 Dec 2009 14:35:04 +0000 (15:35 +0100)]
Actually send exposes from gdk_window_clear_area_e
Javier Jardón [Thu, 17 Dec 2009 18:17:22 +0000 (19:17 +0100)]
Add 'Since: 2.18' tag
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
Nguyễn Thái Ngọc Duy [Fri, 18 Dec 2009 09:07:40 +0000 (16:07 +0700)]
vi.po: Updated Vietnamese translation
Christian Dywan [Thu, 17 Dec 2009 09:41:11 +0000 (10:41 +0100)]
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
Tor Lillqvist [Wed, 16 Dec 2009 23:50:47 +0000 (01:50 +0200)]
Make the OLE2 DND code selectable at run-time instead of compile-time
(It still doesn't work, though.)
Johan Dahlin [Wed, 16 Dec 2009 19:30:53 +0000 (17:30 -0200)]
Make sure dist check includes introspection
Johan Dahlin [Mon, 14 Dec 2009 23:50:47 +0000 (21:50 -0200)]
Bump the required introspection version
Makefile.introspection was added in 0.6.7
Johan Dahlin [Mon, 14 Dec 2009 23:47:39 +0000 (21:47 -0200)]
Use Makefile.introspection
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
Johan Dahlin [Mon, 14 Dec 2009 23:46:42 +0000 (21:46 -0200)]
Update introspection.m4
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
Johan Dahlin [Thu, 10 Dec 2009 19:22:17 +0000 (17:22 -0200)]
Bump required introspection version to 0.6.6
Johan Dahlin [Thu, 10 Dec 2009 14:04:48 +0000 (12:04 -0200)]
Make sure dist check works with introspection
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
Johan Dahlin [Thu, 10 Dec 2009 14:03:58 +0000 (12:03 -0200)]
Re-add accidentially removed gtkintl header
Johan Dahlin [Thu, 10 Dec 2009 11:58:51 +0000 (09:58 -0200)]
Add no-portability option to automake
We require GNU Make and has done so for a while already
Colin Walters [Thu, 10 Dec 2009 10:23:40 +0000 (08:23 -0200)]
[introspection] Merge in Gtk-custom.c annotations
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
Johan Dahlin [Wed, 9 Dec 2009 22:12:46 +0000 (20:12 -0200)]
Bump the required version of autoconf to 2.62
It's need by the new introspection macro.
Johan Dahlin [Wed, 9 Dec 2009 18:47:00 +0000 (16:47 -0200)]
Separate private from public gdk headers
We don't want to parse the private gdk headers when
creating the GIR.
Johan Dahlin [Wed, 9 Dec 2009 18:46:25 +0000 (16:46 -0200)]
Add an m4 directory and a introspection.m4
So we don't need the introspection.m4 file
to create a dist of gtk+
Tomeu Vizoso [Wed, 9 Dec 2009 18:10:46 +0000 (16:10 -0200)]
Add a few more annotations to GtkIconTheme
Colin Walters [Tue, 18 Aug 2009 18:35:10 +0000 (14:35 -0400)]
Merge in Gdk-custom.c introspection annotations
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
Colin Walters [Tue, 18 Aug 2009 18:34:21 +0000 (14:34 -0400)]
Build introspection data for gdk-pixbuf, gdk, and gtk
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
Tor Lillqvist [Wed, 16 Dec 2009 11:47:57 +0000 (13:47 +0200)]
Add copyright note and comment for merged old code
Tor Lillqvist [Wed, 16 Dec 2009 11:04:29 +0000 (13:04 +0200)]
Work on OLE2-based generic DND
Intermediate commit of work in progress on integrating the old code
for OLE2-based generic drag and drop from Arhaeopteryx Software, from
a long time ago in the GTK+ 1.3 timeframe. Does still not work and is
as before not compiled in unless OLE2_DND is defined in
gdkdnd-win32.c. (Thus, for inter-process DND, still only WM_DROPFILES
style dropping of files on GTK+ apps works.)
Related slight refactoring of other code that shouldn't change how it
works. Add more global variables for run-time constants (once
initialized) representing well-known GdkAtoms and registered Windows
clipboard formats, as they with the generic DND code will be needed in
several source files. Some improved debugging output.
Tor Lillqvist [Sun, 15 Nov 2009 01:49:22 +0000 (03:49 +0200)]
Make more GdkAtom variables visible in all gdk/win32 files
Make the GdkAtoms for the image formats extern and usable from all
gdk/win32 files.
Tor Lillqvist [Sun, 15 Nov 2009 01:45:15 +0000 (03:45 +0200)]
Make the gdk/win32 event debug printing function non-static
Make print_event() extern and rename it to _gdk_win32_print_event() so
it can be used from all gdk/win32 source files.
Tor Lillqvist [Sun, 15 Nov 2009 00:51:44 +0000 (02:51 +0200)]
Remove unused functions and variables
Benjamin Otte [Wed, 16 Dec 2009 10:48:11 +0000 (11:48 +0100)]
Revert
dd511e825aef9edada30107b3d891d496cc39fd8
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
Javier Jardón [Wed, 9 Dec 2009 22:54:17 +0000 (23:54 +0100)]
Add info about single includes when compiling GTK+ apps
gtk.h, gdk.h, gdk-pixbuf.h. are the recommended includes.
But there are some exceptions: gdkkeysyms.h, gdkx.h and
gtkunixprint.h
https://bugzilla.gnome.org/show_bug.cgi?id=604117
Matthew Barnes [Tue, 15 Dec 2009 13:00:44 +0000 (08:00 -0500)]
Bug 602099 - Actions can be activatable too
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
Matthias Clasen [Sat, 19 Dec 2009 18:12:16 +0000 (13:12 -0500)]
Fix a typo
Matthias Clasen [Sat, 19 Dec 2009 15:31:16 +0000 (10:31 -0500)]
implement extended layout for GtkCellRendererText
Matthias Clasen [Sat, 19 Dec 2009 15:23:58 +0000 (10:23 -0500)]
implement extended layout for GtkCellView
Matthias Clasen [Sat, 19 Dec 2009 07:07:51 +0000 (02:07 -0500)]
implement extended layout for GtkTreeView and GtkTreeViewColumn
Matthias Clasen [Sat, 19 Dec 2009 06:23:58 +0000 (01:23 -0500)]
Implement extended layout for plug/socket
Matthias Clasen [Sat, 19 Dec 2009 05:57:49 +0000 (00:57 -0500)]
Implement extended layout for GtkScrolledWindow
Matthias Clasen [Sat, 19 Dec 2009 05:34:04 +0000 (00:34 -0500)]
Implement extended layout for GtkBin
Matthias Clasen [Sat, 19 Dec 2009 04:44:43 +0000 (23:44 -0500)]
Make it compile
Johannes Schmid [Mon, 14 Dec 2009 16:24:52 +0000 (17:24 +0100)]
native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
widgets with full size as possible.
Johannes Schmid [Mon, 14 Dec 2009 16:16:21 +0000 (17:16 +0100)]
native-layout: Fix typo that brakes layout completely
Johannes Schmid [Mon, 14 Dec 2009 15:30:26 +0000 (16:30 +0100)]
native-layout: Bump version of GtkExtendedLayout gtk-doc comments to 2.20
Johannes Schmid [Mon, 14 Dec 2009 15:28:56 +0000 (16:28 +0100)]
native-layout: Don't expose extra gtk_widget_* function that are similar to the GtkExtendedLayout interface
Johannes Schmid [Mon, 14 Dec 2009 14:36:22 +0000 (15:36 +0100)]
Merge branch 'master' into native-layout
Johannes Schmmid [Wed, 2 Dec 2009 08:48:42 +0000 (09:48 +0100)]
native-layout: Introduce GtkExtendedLayout interface.
Matthias Clasen [Mon, 14 Dec 2009 01:40:02 +0000 (20:40 -0500)]
Implement gdk_screen_get_primary_monitor in all GDK backends
The implementations are all trivial, just returning 0. At least
for Quartz, we could probably do better than that. Bug 604459.
Matthias Clasen [Mon, 14 Dec 2009 01:32:46 +0000 (20:32 -0500)]
Fix gtk_tool_item_get_text_size_group return value
Reported by Kazuki Iwamoto in bug 604462.
Jorge González [Sun, 13 Dec 2009 08:55:01 +0000 (09:55 +0100)]
Updated Spanish translation
Christian Dywan [Fri, 11 Dec 2009 16:17:38 +0000 (17:17 +0100)]
Reset the pressed state of a button when the screen changes
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=599397
Nils-Christoph Fiedler [Fri, 11 Dec 2009 08:16:09 +0000 (09:16 +0100)]
Updated LowGerman translation
Sven Herzberg [Thu, 10 Dec 2009 16:34:29 +0000 (17:34 +0100)]
let the close button reflect the page_complete status of SUMMARY pages
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.
* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
quick manual testing of this feature
Johan Dahlin [Thu, 10 Dec 2009 14:04:14 +0000 (12:04 -0200)]
Fix the builder tests
Cody Russell [Thu, 10 Dec 2009 05:20:30 +0000 (23:20 -0600)]
Add gdk_screen_get_primary_monitor to gdk.symbols
Danielle Madeley [Wed, 9 Dec 2009 04:48:58 +0000 (15:48 +1100)]
Fix GTK_TREE_MODEL_FILTER_GET_CLASS macro
Cody Russell [Tue, 8 Dec 2009 17:27:02 +0000 (11:27 -0600)]
Add gdk_screen_get_primary_monitor(). This fixes bug #601712
Matthias Clasen [Tue, 8 Dec 2009 15:09:04 +0000 (10:09 -0500)]
Never do implicit paints for foreign windows
They don't need double buffer combination since they have no
client-side children, and creating pixmaps for them is risky
since they could disappear at any time.
May fix bug 598476 and 603652.
Matthias Clasen [Tue, 8 Dec 2009 14:58:23 +0000 (09:58 -0500)]
Set colormap of offscreen pixmaps
This fixes problems in clutter-gtk. See bug 603619.
Alexander Larsson [Tue, 8 Dec 2009 11:28:44 +0000 (12:28 +0100)]
Fix up last commit
Alexander Larsson [Tue, 8 Dec 2009 11:19:00 +0000 (12:19 +0100)]
Handle input extension events when making a window native
It may happen when turning a client side window into a native window
that the window, or some of its children with the same native parent
have extension events enabled, and thus have an input window enabled
for the native parent which needs to change as the window is made
native.
We fix this by temporarily disabling extension events on all the affected
windows while we create the native window, and then reenable them afterwards.
This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=544624
Ivar Smolin [Tue, 8 Dec 2009 07:01:21 +0000 (09:01 +0200)]
Updating Estonian translation
David King [Tue, 8 Dec 2009 04:53:34 +0000 (05:53 +0100)]
[doc] Add error domains on functions taking a GError**
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544706
Christian Dywan [Tue, 8 Dec 2009 04:45:50 +0000 (05:45 +0100)]
[doc] Fix the documentation of GtkIconEntry
Cast to (GFunc) in example code
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383
Javier Jardón [Tue, 8 Dec 2009 01:07:51 +0000 (02:07 +0100)]
[gtk/gtkaccessible] Seal the public member of GtkAccesible
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544892
Alexander Larsson [Mon, 7 Dec 2009 09:47:05 +0000 (10:47 +0100)]
Fix damage report for lines drawn on offscreen windows
All kinds of lines (lines, segments, arcs, etc) need to take into
account the line properties (width, miter limit, joins, caps, etc)
to get proper damage extents.
This is not really possible to do, but we can make it likely to work
with some ad-hoc estimates.
Fixes bug 603904.
Alexander Larsson [Mon, 7 Dec 2009 08:58:34 +0000 (09:58 +0100)]
Fix mouse pointer handling on multiple screens
The fix in
786b589d95077b465dcc2311ff2489ee7bb9a49f for the
"Cannot click buttons more than once without moving the mouse cursor"
did not correctly handle setups with multiple screens in one display.
We need to handle the case where the first XQueryPointer returns
a different root window than the default one.
This fixes bug 597386 (agaion)
Yair Hershkovitz [Sat, 5 Dec 2009 21:24:01 +0000 (23:24 +0200)]
Updated Hebrew translation
Carlos Garcia Campos [Sat, 5 Dec 2009 14:48:46 +0000 (15:48 +0100)]
Fix Since tag in gtk_printer_get_default_page_size() doc
Adrian Johnson [Sat, 21 Nov 2009 10:42:16 +0000 (21:12 +1030)]
Set win32 printer hard margins on print context
Adrian Johnson [Sat, 21 Nov 2009 10:40:36 +0000 (21:10 +1030)]
Set hard margins to 0 when printing n-up on unix printers
Adrian Johnson [Sat, 21 Nov 2009 09:38:17 +0000 (20:08 +1030)]
Default to hard margins not available
unless the print backend explicitly provides them.
Adrian Johnson [Sat, 21 Nov 2009 09:37:14 +0000 (20:07 +1030)]
Set unix printer hard margins on print context
ecyrbe [Sat, 5 Dec 2009 12:23:44 +0000 (13:23 +0100)]
Bring GtkPrintContext hard margin aware
See bug #468989.
Kjartan Maraas [Fri, 4 Dec 2009 20:21:38 +0000 (21:21 +0100)]
Updated Norwegian bokmål translation.
Matej Urbančič [Fri, 4 Dec 2009 19:48:54 +0000 (20:48 +0100)]
Updated Slovenian translation
Matej Urbančič [Fri, 4 Dec 2009 19:48:44 +0000 (20:48 +0100)]
Updated Slovenian translation
Javier Jardón [Fri, 4 Dec 2009 01:15:00 +0000 (02:15 +0100)]
Use GtkCellEditable::editing-canceled
GtkCellEditable::editing-canceled property was added in 2.19 cycle,
so we should make the code that currently uses entry->editing_canceled
directly go through the property
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599213
Christian Dywan [Thu, 3 Dec 2009 12:10:02 +0000 (13:10 +0100)]
Store the buildable name in object data instead of the widget name
Widget names are used for theming which is why GtkBuilder should
use object data.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591085
Khaled Hosny [Wed, 2 Dec 2009 13:53:31 +0000 (15:53 +0200)]
Updated Arabic translation
Alexander Larsson [Wed, 2 Dec 2009 10:09:37 +0000 (11:09 +0100)]
Don't filter out BUTTON_MOTION event masks
We don't really need to filter these out, it was just a leftover
safety check to not override the GDK_POINTER_MOTION_MASK.
Furthermore when we changed behaviour to not always select for native
pointer motion it is actually wrong. We'll still get normal motion
events for the toplevel which we will emulate as button motion on the
child, but the button motion mask will not be inherited by implicit
grabs which makes us not get any motion events during grabs.
This fixes bug 601473
krishnababu k [Wed, 2 Dec 2009 09:34:25 +0000 (15:04 +0530)]
Updated telugu translations
Javier Jardón [Wed, 2 Dec 2009 08:27:12 +0000 (09:27 +0100)]
[gtk/gtktextview] Use {} in empty if..else blocks